<?php

$gb = 1;
$kb = pow( 2, 20 );//1048576
$mb = sqrt( $kb );//1024
echo sprintf( '%dGB是%dKB', $gb, $kb ) . '<br/>';
echo sprintf( '%dGB可以换算成' . sqrt( $kb ) . 'MB', $gb );

